<?exit?>
<!--{template 'templates/site/default/header.html.php', 1}-->

<!--{ad/horbanner/wrap mbm}-->
<div class="wrap cl">
	<div class="main">
		<div id="pt">
			<a title="$_G['setting']['sitename']" class="nvhm" id="fjump" href="./">$_G['setting']['sitename']</a>
			<em>&rsaquo;</em>
			<a href="album.php">{$location['name']}</a>
			<!--{loop $catnavarray $catnav}-->
			<em>&rsaquo;</em>
			<a href="album.php?catid={$catnav['catid']}">{$catnav['name']}</a>
			<!--{/loop}-->
		</div>
		<div class="selection mbm">
			<div class="search">
				<div class="y">
					<form id="form_search_albums" method="get" action="album.php">
						<input class="px" type="text" name="keyword" id="keyword" maxlength=50 value="{$keyword_show}" />
						<input type="hidden" name="catid" value="{$catid}" />
						<button name="shopsubmit" value="true" type="submit">{$lang['search']}</button>
					</form>
				</div>
				<!--{if $keyword_show}-->{$lang['keywords']} "<strong class="xi1">{$keyword_show}</strong>", <!--{/if}-->{$lang['totalfind']} <strong>{$resultcount}</strong> {$lang['findalbum']}
			</div>
			<dl class="cl">
				<dt>{$lang['selectcategory']}</dt>
				<dd class="cl" style="border: none;">
					<ul>
						<!--{loop $samelevelcatarray $levelcat}-->
							<li>
								<a href="album.php?catid={$levelcat['catid']}&keyword={$keyword_show}" {if $levelcat['catid'] == $catid}class="a"{/if}>
								{$levelcat['name']} {if {$catnums[$levelcat['catid']]}}({$catnums[$levelcat['catid']]}){/if}
								</a>
							</li>
						<!--{/loop}-->
					</ul>
				</dd>
			</dl>
			<!--{if $attarray}-->
			<dl class="cl">
				<!--{loop $attarray $attrul}-->
				<dt>{$attrul['attr_name']}</dt>
				<dd class="cl">
					<ul>
						<!--{eval unset($attrul['attr_name']);}-->
						<!--{loop $attrul $attrli}-->
						<li><a href="{$attrli['url']}" {if $attrli['current']}class="a"{/if}>{$attrli['name']}</a></li>
						<!--{/loop}-->
					</ul>
				</dd>
				<!--{/loop}-->
			</dl>
			<!--{/if}-->
		</div>
		<div class="bm mbm">
			<div class="bm_h">
				<h2>{$lang['albumlist']}</h2>
			</div>
			<div class="bm_c">
				<ul class="viewlist_album cl">
					<!--{loop $albumlist $album}-->
					<li>
						<div class="thumb"><a target="_blank" href="store.php?id={$album['shopid']}&action=album&xid={$album['itemid']}"><img src="{$album['thumb']}" alt="$album['subject']"></a></div>
						<h3 class="xi2"><a target="_blank" href="store.php?id={$album['shopid']}&action=album&xid={$album['itemid']}"  title="$album['subject']">{$album['summary']}</a></h3>
						<p class="tu"><a href="store.php?id=$album['shopid']" title="$album['shopinfo']['subject']" target="_blank"><!--{eval echo cutstr($album['shopinfo']['subject'], 20)}--></a></p>
					</li>
					<!--{/loop}-->
				</ul>
				$multipage
			</div>
		</div>
	</div>
	<div class="side">
		<!--{ad/sidebar/ad_sidebar mbm/1}-->
		<!--{template 'static/blockstyle/sidebar_hotshop.html.php', 1}-->
		<!--{ad/sidebar/ad_sidebar mbm/2}-->
		<!--{template 'static/blockstyle/sidebar_rdconsume.html.php', 1}-->
		<!--{ad/sidebar/ad_sidebar/3}-->
	</div>
</div>



<script type="text/javascript" charset="$_G['charset']">
$(document).ready(function() {

    $("#albumslist .everylist").hover(function() {
        $("#albumslist .everylist").hover(function() {
                $(this).css({'background' : 'url(static/image/bg_goodssearch_hover.png) repeat-x scroll 0 bottom'});

            } , function() {
                $(this).css({'background' : 'url(static/image/bg_goodssearch.png) repeat-x scroll 0 bottom'});

            });
    });
});
function showalbumlist(shopid) {
	$("#albumlist").load('album.php?action=getalbumlist&shopid=' + shopid);
}
</script>
<!--{template 'templates/site/default/footer.html.php', 1}-->
